//
//  health
//
//  Created by apple on 2021/11/9.
//  Copyright © 2021 zglee. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface RecordDataBaseModel : NSObject<NSSecureCoding>

/// 检测单主键
@property (nonatomic, strong) NSString *detectionId;
/// 操作者id
@property (nonatomic, strong) NSString *userId;
/// 操作者姓名
@property (nonatomic, strong) NSString *userName;
/// 受检者id
@property (nonatomic, strong) NSString *patientId;
/// 受检者姓名
@property (nonatomic, strong) NSString *patientName;
/// 受检者年龄
@property (nonatomic, assign) NSInteger age;
/// 受检者性别
@property (nonatomic, strong) NSString *gender;
/// 检测时间(记录)
@property (nonatomic, strong) NSString *detectionDateTime;
/// 检测时间(检测)
@property (nonatomic, strong) NSString *createDateTime;
/// 检测时段：Fasting=空腹 Postprandial=餐后
@property (nonatomic, strong) NSString *period;
/// 检测机构
@property (nonatomic, strong) NSString *orgName;


/// 自定义
/// 尿酸总记录
@property (assign, nonatomic) NSInteger total;
/// 检测状态(空腹 餐后)
@property (nonatomic, strong) NSString *periodString;
/// 是否空腹
@property (assign, nonatomic) BOOL isFasting;
/// 是否男
@property (assign, nonatomic) BOOL isMale;

@property (nonatomic, assign) BOOL showArrowsDown;

@property (nonatomic, assign) BOOL showArrowsUp;
/// 是否4合1
@property (assign, nonatomic) BOOL isMultiple;

@property (nonatomic, assign) BOOL isGou;

@property (nonatomic, assign) BOOL noUpload;

- (void)switchUnit;

@end

NS_ASSUME_NONNULL_END
